﻿using B.S.EventHandle.ErrorCode;

namespace B.S.ProcessEngine.ErrorCode
{
    /// <summary>
    /// API封装对象
    /// </summary>
    /// <typeparam name="T">模型</typeparam>
    public class APIResult<T> where T : class
    {
        /// <summary>
        /// 返回状态码
        /// </summary>
        public APIEnums Code { get; set; }
        /// <summary>
        /// 提示消息
        /// </summary>
        public string Message {  get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public T Data { get; set; }

    }
}
